package cn.edu.imnu.mapper;

import cn.edu.imnu.entity.dto.DrugListdto;
import cn.edu.imnu.entity.dto.Drugadddto;
import cn.edu.imnu.entity.dto.Drugupdatedto;
import cn.edu.imnu.entity.po.Drug;

import lombok.Data;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
* @author Administrator
* @description 针对表【drug】的数据库操作Mapper
* @createDate 2025-06-10 11:30:37
* @Entity cn.edu.imnu.entity.po.Drug
*/
@Mapper
public interface DrugMapper  {


    List<DrugListdto> selectAllDrugs(DrugListdto dto);

    int insertDrug(Drugadddto dto);

    int deleteByPrimaryKey(Long drugId);

    int updateSelective(Drugupdatedto dto);
}
